import { request } from "../utils/request";
/**
 * 登录
 */
export function onLogin(data) {
  return new Promise(res => {
    res(request('/miniProgramController/onLogin','GET',data,{
      'Content-Type': 'application/json'
    }))
  })
}
/**
 * 更新头像昵称
 */
export function updateUserInfo(data) {
  return new Promise(res => {
    res(request('/miniProgramController/updateUserInfo','POST',data))
  })
}
/**
 * 获取转发base64
 */
export function getWxACodeUnLimitBase64(data) {
  return new Promise(res => {
    res(request('/miniProgramController/getWxACodeUnLimitBase64','POST',data))
  })
}
/**
 * 获取转发base64
 */
export function getWxACodeUnLimitPath(data) {
  return new Promise(res => {
    res(request('/miniProgramController/getWxACodeUnLimitPath','POST',data))
  })
}